{template "header.html"}

<div class="note note-danger">
    <p><a href="javascript:dr_update_cache();">{dr_lang('更改数据之后需要更新缓存之后才能生效')}</a></p>
</div>
<form action="" class="form-horizontal" method="post" name="myform" id="myform">
    {$form}
    <div class="portlet bordered light ">
    	    <div class="portlet-title tabbable-line">
    	        <ul class="nav nav-tabs" style="float:left;">
    	            <li class="{if $page==0}active{/if}">
    	                <a href="#tab_0" data-toggle="tab" onclick="$('#dr_page').val('0')"> <i class="fa fa-cog"></i> {dr_lang('帖子列表风格')} </a>
    	            </li>
    	        </ul>
    	    </div>
    	    <div class="portlet-body">
    	        <div class="tab-content">
    	            <div class="tab-pane {if $page==0}active{/if}" id="tab_0">
    	                <div class="form-body">
    						<div class="form-body">
    						    <div class="form-group">
    						        <label class="col-md-2 control-label">开启用户自定义</label>
    						        <div class="col-md-9">
    						            <div class="mt-radio-inline">
    						                <label class="mt-radio mt-checkbox-outline"><input type="radio" name="data[tiezi_fenggekaiguan]" value="0" {if $data['tiezi_fenggekaiguan']==0}checked{/if} /> {dr_lang('开启')} <span></span></label>
    						                <label class="mt-radio mt-checkbox-outline"><input type="radio" name="data[tiezi_fenggekaiguan]" value="1" {if $data['tiezi_fenggekaiguan'] ==1}checked{/if} /> {dr_lang('关闭')} <span></span></label>
    						                
    									</div>
    						            <span class="help-block">{dr_lang('用户可以在前端自定义风格')}</span>
    						            
    						        </div>
    						    </div>
    						</div>
    	                </div>
    	                <div class="form-body">
							<div class="form-group">
								<label class="col-md-2 control-label">默认帖子风格</label>
								<div class="col-md-9">
									<div class="mt-radio-inline">
										<label class="mt-radio mt-checkbox-outline"><input type="radio" name="data[tiezi_fengge]" value="1" {if $data['tiezi_fengge']==1}checked{/if} /> {dr_lang('综合型风格')} <span></span></label>
										<label class="mt-radio mt-checkbox-outline"><input type="radio" name="data[tiezi_fengge]" value="2" {if $data['tiezi_fengge'] ==2}checked{/if} /> {dr_lang('瀑布流风格')} <span></span></label>
										<label class="mt-radio mt-checkbox-outline"><input type="radio" name="data[tiezi_fengge]" value="3" {if $data['tiezi_fengge'] ==3}checked{/if} /> {dr_lang('简约风格')} <span></span></label>
										<label class="mt-radio mt-checkbox-outline"><input type="radio" name="data[tiezi_fengge]" value="4" {if $data['tiezi_fengge'] ==4}checked{/if} /> {dr_lang('标题风格')} <span></span></label>
									</div>
									<span class="help-block">{dr_lang('综合型风格：可以展示图片，文字，视频，附件')}</span>
									<span class="help-block">{dr_lang('瀑布流风格：可以展示图片，文字')}</span>
									<span class="help-block">{dr_lang('说明：开启上面用户自定义后，首选会展示默认的风格')}</span>
								</div>
							</div>
						</div>
						<div class="form-body">
							<div class="form-group">
								<label class="col-md-2 control-label">瀑布流风格图</label>
								<div class="col-md-9">
									<div class="mt-radio-inline">
										<label class="mt-radio mt-checkbox-outline"><input type="radio" name="data[tiezi_fenggetu]" value="0" {if $data['tiezi_fenggetu']==0}checked{/if} /> {dr_lang('展示帖子图片')} <span></span></label>
										<label class="mt-radio mt-checkbox-outline"><input type="radio" name="data[tiezi_fenggetu]" value="1" {if $data['tiezi_fenggetu'] ==1}checked{/if} /> {dr_lang('封面图片')} <span></span></label>
										
									</div>
									<span class="help-block">{dr_lang('选择瀑布流风格，同时选择图片的展示方式')}</span>

								</div>
							</div>
						</div>
    	            </div>
    	        </div>
    	    </div>
    	</div>
	<div class="portlet bordered light ">
	    <div class="portlet-title tabbable-line">
	        <ul class="nav nav-tabs" style="float:left;">
	            <li class="{if $page==0}active{/if}">
	                <a href="#tab_0" data-toggle="tab" onclick="$('#dr_page').val('0')"> <i class="fa fa-cog"></i> {dr_lang('进度开关')} </a>
	            </li>
	        </ul>
	    </div>
	    <div class="portlet-body">
	        <div class="tab-content">
	            <div class="tab-pane {if $page==0}active{/if}" id="tab_0">
	                <div class="form-body">
						<div class="form-body">
						    <div class="form-group">
						        <label class="col-md-2 control-label">BUG帖子</label>
						        <div class="col-md-9">
						            <div class="mt-radio-inline">
						                <label class="mt-radio mt-checkbox-outline"><input type="radio" name="data[tiezi_bug]" value="0" {if $data['tiezi_bug']==0}checked{/if} /> {dr_lang('关闭')} <span></span></label>
						                <label class="mt-radio mt-checkbox-outline"><input type="radio" name="data[tiezi_bug]" value="1" {if $data['tiezi_bug'] ==1}checked{/if} /> {dr_lang('开启')} <span></span></label>
									</div>
						            <span class="help-block">{dr_lang('关闭后不再展示BUG帖子')}</span>
						        </div>
						    </div>
						</div>
						<div class="form-body">
						    <div class="form-group">
						        <label class="col-md-2 control-label">进度帖子</label>
						        <div class="col-md-9">
						            <div class="mt-radio-inline">
						                <label class="mt-radio mt-checkbox-outline"><input type="radio" name="data[tiezi_jindu]" value="0" {if $data['tiezi_jindu']==0}checked{/if} /> {dr_lang('关闭')} <span></span></label>
						                <label class="mt-radio mt-checkbox-outline"><input type="radio" name="data[tiezi_jindu]" value="1" {if $data['tiezi_jindu'] ==1}checked{/if} /> {dr_lang('开启')} <span></span></label>
						                
									</div>
						            <span class="help-block">{dr_lang('关闭后不再展示进度帖子')}</span>
						        </div>
						    </div>
						</div>
	
	                    <!--div class="form-body">
	                        <div class="form-group">
	                            <label class="col-md-2 control-label">免责内容</label>
	                            <div class="col-md-9">
	                                <textarea class="form-control" rows="5" name="data[quan_mianze_text]">{$data.quan_mianze_text}</textarea>
	                                <span class="help-block">{dr_lang('免责内容')}</span>
	                            </div>
	                        </div>
	                    </div-->
	
	                </div>
	            </div>
	        </div>
	    </div>
	</div>
	<div class="portlet bordered light">
		<div class="portlet-title tabbable-line ">
		    <ul class="nav nav-tabs" style="float:left;">
		        <li class="{if $page==0}active{/if}">
		            <a href="#tab_0" data-toggle="tab" onclick="$('#dr_page').val('0')"> <i class="fa fa-cog"></i> {dr_lang('点赞设置')} </a>
		        </li>
		    </ul>
		</div>
		<div class="portlet-body">
		    <div class="tab-content">
		        <div class="tab-pane {if $page==0}active{/if}" id="tab_0">
		            <div class="form-body">
						<div class="form-body">
						    <div class="form-group">
						        <label class="col-md-2 control-label">点赞奖励设置</label>
						        <div class="col-md-9">
						            <div class="mt-radio-inline">
						                <label class="mt-radio mt-checkbox-outline"><input type="radio" name="data[setting][tiezi_dianzan_kaiguan]" value="0" {if $data['setting']['tiezi_dianzan_kaiguan']==0}checked{/if} /> {dr_lang('全站统一')} <span></span></label>
						                <label class="mt-radio mt-checkbox-outline"><input type="radio" name="data[setting][tiezi_dianzan_kaiguan]" value="1" {if $data['setting']['tiezi_dianzan_kaiguan'] ==1}checked{/if} /> {dr_lang('根据用户组“待开发中”')} <span></span></label>
						                
									</div>
						            <!--span class="help-block">{dr_lang('关闭后不再展示BUG帖子')}</span-->
						        </div>
						    </div>
						</div>
						<div class="form-group">
						    <label class="col-md-2 control-label">{dr_lang('点赞奖励')}</label>
						    <div class="col-md-9">
						
						        <div class="margin-bottom-15">
						            
						            {if dr_is_app('explog')}
						            <!--div class="input-inline input-small">
						                <div class="input-group">
						                    <input type="text" name="data[setting][exp]" value="{htmlspecialchars((string)$data['setting']['exp'])}" class="form-control" placeholder="">
						                    <span class="input-group-addon">+{SITE_EXPERIENCE}</span>
						                </div>
						            </div-->
						            {/if}
						            {if dr_is_app('scorelog')}
						            <div class="input-inline input-small">
						                <div class="input-group">
						                    <input type="text" name="data[setting][scorejia]" value="{htmlspecialchars((string)$data['setting']['scorejia'])}" class="form-control" placeholder="">
						                    <span class="input-group-addon">+{SITE_SCORE}</span>
						                </div>
						            </div>
						            {/if}
						            <!--div class="input-inline input-small">
						                <div class="input-group">
						                    <input type="text" name="data[setting][money]" value="{htmlspecialchars((string)$data['setting']['money'])}" class="form-control" placeholder="">
						                    <span class="input-group-addon">+{dr_lang('金额')}</span>
						                </div>
						            </div-->
						            
						        </div>
						        <span class="help-block">{dr_lang('填写数字即可。0 表示关闭')}</span>
						    </div>
						</div>
						<div class="form-group">
						    <label class="col-md-2 control-label">{dr_lang('取消点赞扣除')}</label>
						    <div class="col-md-9">
						
						        <div class="margin-bottom-15">
						            
						            {if dr_is_app('explog')}
						            <!--div class="input-inline input-small">
						                <div class="input-group">
						                    <input type="text" name="data[setting][exp]" value="{htmlspecialchars((string)$data['setting']['exp'])}" class="form-control" placeholder="">
						                    <span class="input-group-addon">-{SITE_EXPERIENCE}</span>
						                </div>
						            </div-->
						            {/if}
						            {if dr_is_app('scorelog')}
						            <div class="input-inline input-small">
						                <div class="input-group">
						                    <input type="text" name="data[setting][scorefu]" value="{htmlspecialchars((string)$data['setting']['scorefu'])}" class="form-control" placeholder="">
						                    <span class="input-group-addon">-{SITE_SCORE}</span>
						                </div>
						            </div>
						            {/if}
						            <!--div class="input-inline input-small">
						                <div class="input-group">
						                    <input type="text" name="data[setting][money]" value="{htmlspecialchars((string)$data['setting']['money'])}" class="form-control" placeholder="">
						                    <span class="input-group-addon">-{dr_lang('金额')}</span>
						                </div>
						            </div-->
						            
						        </div>
						        <span class="help-block">{dr_lang('填写数字即可。0 表示关闭')}</span>
						    </div>
						</div>
			
		            </div>
		        </div>
		    </div>
		</div>
	
	    
	</div>
	<div class="portlet bordered light">
		<div class="portlet-title tabbable-line ">
		    <ul class="nav nav-tabs" style="float:left;">
		        <li class="{if $page==0}active{/if}">
		            <a href="#tab_0" data-toggle="tab" onclick="$('#dr_page').val('0')"> <i class="fa fa-cog"></i> {dr_lang('收藏设置')} </a>
		        </li>
		    </ul>
		</div>
		<div class="portlet-body">
		    <div class="tab-content">
		        <div class="tab-pane {if $page==0}active{/if}" id="tab_0">
		            <div class="form-body">
						<div class="form-body">
						    <div class="form-group">
						        <label class="col-md-2 control-label">收藏奖励设置</label>
						        <div class="col-md-9">
						            <div class="mt-radio-inline">
						                <label class="mt-radio mt-checkbox-outline"><input type="radio" name="data[setting][tiezi_shoucang_kaiguan]" value="0" {if $data['setting']['tiezi_shoucang_kaiguan']==0}checked{/if} /> {dr_lang('全站统一')} <span></span></label>
						                <label class="mt-radio mt-checkbox-outline"><input type="radio" name="data[setting][tiezi_shoucang_kaiguan]" value="1" {if $data['setting']['tiezi_shoucang_kaiguan'] ==1}checked{/if} /> {dr_lang('根据用户组“待开发中”')} <span></span></label>
						                
									</div>
						            <!--span class="help-block">{dr_lang('关闭后不再展示BUG帖子')}</span-->
						        </div>
						    </div>
						</div>
						<div class="form-group">
						    <label class="col-md-2 control-label">{dr_lang('收藏奖励')}</label>
						    <div class="col-md-9">
						
						        <div class="margin-bottom-15">
						            
						            {if dr_is_app('explog')}
						            <!--div class="input-inline input-small">
						                <div class="input-group">
						                    <input type="text" name="data[setting][exp]" value="{htmlspecialchars((string)$data['setting']['exp'])}" class="form-control" placeholder="">
						                    <span class="input-group-addon">+{SITE_EXPERIENCE}</span>
						                </div>
						            </div-->
						            {/if}
						            {if dr_is_app('scorelog')}
						            <div class="input-inline input-small">
						                <div class="input-group">
						                    <input type="text" name="data[setting][shoucangscorejia]" value="{htmlspecialchars((string)$data['setting']['shoucangscorejia'])}" class="form-control" placeholder="">
						                    <span class="input-group-addon">+{SITE_SCORE}</span>
						                </div>
						            </div>
						            {/if}
						            <!--div class="input-inline input-small">
						                <div class="input-group">
						                    <input type="text" name="data[setting][money]" value="{htmlspecialchars((string)$data['setting']['money'])}" class="form-control" placeholder="">
						                    <span class="input-group-addon">+{dr_lang('金额')}</span>
						                </div>
						            </div-->
						            
						        </div>
						        <span class="help-block">{dr_lang('填写数字即可。0 表示关闭')}</span>
						    </div>
						</div>
						<div class="form-group">
						    <label class="col-md-2 control-label">{dr_lang('取消点赞扣除')}</label>
						    <div class="col-md-9">
						
						        <div class="margin-bottom-15">
						            
						            {if dr_is_app('explog')}
						            <!--div class="input-inline input-small">
						                <div class="input-group">
						                    <input type="text" name="data[setting][exp]" value="{htmlspecialchars((string)$data['setting']['exp'])}" class="form-control" placeholder="">
						                    <span class="input-group-addon">-{SITE_EXPERIENCE}</span>
						                </div>
						            </div-->
						            {/if}
						            {if dr_is_app('scorelog')}
						            <div class="input-inline input-small">
						                <div class="input-group">
						                    <input type="text" name="data[setting][shoucangscorefu]" value="{htmlspecialchars((string)$data['setting']['shoucangscorefu'])}" class="form-control" placeholder="">
						                    <span class="input-group-addon">-{SITE_SCORE}</span>
						                </div>
						            </div>
						            {/if}
						            <!--div class="input-inline input-small">
						                <div class="input-group">
						                    <input type="text" name="data[setting][money]" value="{htmlspecialchars((string)$data['setting']['money'])}" class="form-control" placeholder="">
						                    <span class="input-group-addon">-{dr_lang('金额')}</span>
						                </div>
						            </div-->
						            
						        </div>
						        <span class="help-block">{dr_lang('填写数字即可。0 表示关闭')}</span>
						    </div>
						</div>
			
		            </div>
		        </div>
		    </div>
		</div>
	
	</div>
	<div class="portlet bordered light">
		<div class="portlet-title tabbable-line ">
		    <ul class="nav nav-tabs" style="float:left;">
		        <li class="{if $page==0}active{/if}">
		            <a href="#tab_0" data-toggle="tab" onclick="$('#dr_page').val('0')"> <i class="fa fa-cog"></i> {dr_lang('下载设置')} </a>
		        </li>
		    </ul>
		</div>
		<div class="portlet-body">
		    <div class="tab-content">
		        <div class="tab-pane {if $page==0}active{/if}" id="tab_0">
		            <div class="form-body">
						<div class="form-body">
						    <div class="form-group">
						        <label class="col-md-2 control-label">下载设置</label>
						        <div class="col-md-9">
						            <div class="mt-radio-inline">
						                <label class="mt-radio mt-checkbox-outline"><input type="radio" name="data[setting][tiezi_xiazai_kaiguan]" value="0" {if $data['setting']['tiezi_xiazai_kaiguan']==0}checked{/if} /> {dr_lang('全站统一')} <span></span></label>
						                <label class="mt-radio mt-checkbox-outline"><input type="radio" name="data[setting][tiezi_xiazai_kaiguan]" value="1" {if $data['setting']['tiezi_xiazai_kaiguan'] ==1}checked{/if} /> {dr_lang('根据用户组“待开发中”')} <span></span></label>
						                
									</div>
						            <!--span class="help-block">{dr_lang('关闭后不再展示BUG帖子')}</span-->
						        </div>
						    </div>
						</div>
						<div class="form-group">
						    <label class="col-md-2 control-label">{dr_lang('免费一天限制下载')}</label>
						    <div class="col-md-9">
						
						        <div class="margin-bottom-15">
						            
						           
						            <div class="input-inline input-small">
						                <div class="input-group">
						                    <input type="text" name="data[setting][xiazaixianzhi]" value="{htmlspecialchars((string)$data['setting']['xiazaixianzhi'])}" class="form-control" placeholder="">
						                    <span class="input-group-addon">个附件</span>
						                </div>
						            </div>
						            
						            <!--div class="input-inline input-small">
						                <div class="input-group">
						                    <input type="text" name="data[setting][money]" value="{htmlspecialchars((string)$data['setting']['money'])}" class="form-control" placeholder="">
						                    <span class="input-group-addon">+{dr_lang('金额')}</span>
						                </div>
						            </div-->
						            
						        </div>
						        <span class="help-block">{dr_lang('填写数字即可。0 表示不限制数量下载，不限制付费附件下载数量')}</span>
						    </div>
						</div>
						
			
		            </div>
		        </div>
		    </div>
		</div>
	
	</div>
	<div class="portlet bordered light ">
		<div class="portlet-title tabbable-line ">
		    <ul class="nav nav-tabs" style="float:left;">
		        <li class="{if $page==0}active{/if}">
		            <a href="#tab_0" data-toggle="tab" onclick="$('#dr_page').val('0')"> <i class="fa fa-cog"></i> {dr_lang('帖子设置')} </a>
		        </li>
		    </ul>
		</div>
		<div class="portlet-body">
		    <div class="tab-content">
		        <div class="tab-pane {if $page==0}active{/if}" id="tab_0">
		            <div class="form-body">
						<div class="form-body">
						    <div class="form-group">
						        <label class="col-md-2 control-label">相关帖子显示设置</label>
						        <div class="col-md-9">
						            <div class="mt-radio-inline">
						                <label class="mt-radio mt-checkbox-outline"><input type="radio" name="data[tiezi_xiangguan]" value="0" {if $data['tiezi_xiangguan']==0}checked{/if} /> {dr_lang('打开')} <span></span></label>
						                <label class="mt-radio mt-checkbox-outline"><input type="radio" name="data[tiezi_xiangguan]" value="1" {if $data['tiezi_xiangguan'] ==1}checked{/if} /> {dr_lang('关闭”')} <span></span></label>
						                
									</div>
						            <!--span class="help-block">{dr_lang('关闭后不再展示BUG帖子')}</span-->
						        </div>
						    </div>
						</div>
						<div class="form-group">
						    <label class="col-md-2 control-label">{dr_lang('上下帖子显示')}</label>
						    <div class="col-md-9">
						
						        <div class="mt-radio-inline">
						            <label class="mt-radio mt-checkbox-outline"><input type="radio" name="data[tiezi_shangxia]" value="0" {if $data['tiezi_shangxia']==0}checked{/if} /> {dr_lang('打开')} <span></span></label>
						            <label class="mt-radio mt-checkbox-outline"><input type="radio" name="data[tiezi_shangxia]" value="1" {if $data['tiezi_shangxia'] ==1}checked{/if} /> {dr_lang('关闭”')} <span></span></label>
						        </div>
						       
						    </div>
						</div>
						
			
		            </div>
		        </div>
		    </div>
		</div>
	
	</div>
	<div class="portlet bordered light ">
		<div class="portlet-title tabbable-line ">
		    <ul class="nav nav-tabs" style="float:left;">
		        <li class="{if $page==0}active{/if}">
		            <a href="#tab_0" data-toggle="tab" onclick="$('#dr_page').val('0')"> <i class="fa fa-cog"></i> {dr_lang('发帖规则说明')} </a>
		        </li>
		    </ul>
		</div>
		<div class="portlet-body">
		    <div class="tab-content">
		        <div class="tab-pane {if $page==0}active{/if}" id="tab_0">
		            <div class="form-body">
						<?php echo dr_fieldform('{"name":"发帖规则说明","fieldname":"ftgzsm","ismain":"1","fieldtype":"Ueditor","setting":{"option":{"enter":"0","down_img":"1","watermark":"0","show_bottom_boot":"0","autofloat":"0","remove_style":"0","div2p":"0","autoheight":"0","page":"0","mode":"2","tool":"\'bold\', \'italic\', \'underline\'","mode2":"2","tool2":"\'bold\', \'italic\', \'underline\'","mode3":"2","tool3":"\'bold\', \'italic\', \'underline\'","attachment":"0","image_endstr":"","value":"","width":"100%","height":"300","css":""},"validate":{"required":"0","pattern":"","errortips":"","check":"","filter":"","formattr":"","tips":""}},"ismember":"1"}', $data['ftgzsm'], 1, 1);?>
		            </div>
		        </div>
		    </div>
		</div>
	
	</div>
	
	
	
	</div>
	<div class="portlet-body form myfooter">
	    <div class="form-actions text-center">
	        <button type="button" onclick="dr_ajax_submit('{dr_now_url()}', 'myform', '2000')" class="btn green"> <i class="fa fa-save"></i> {dr_lang('保存')}</button>
	    </div>
	</div>
	
</form>



{template "footer.html"}